package com.ljh.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @author ：刘剑鸿
 * @date ：Created in 2021/9/6 10:40
 * @description：公共返回对象的枚举
 * @modified By：
 * @version: $
 */
@Getter
@ToString
@AllArgsConstructor
public enum  RespBeanEnum {
    //通用
    SUCCESS(200,"成功"),
    ERROR(500,"服务端异常"),
    //登录模块
    LOGIN_ERROR(500210,"用户名或密码错误"),
    MOBILE_ERROR(500211,"手机号码格式不正确");
    private final Integer code;
    private final String message;
}
